package com.norteksoft.erm.model;

/**
 * @hibernate.class table="ERM_ROLERIGHT"
 * @deprecated
 */
public class RoleRight extends Right {

	private static final long serialVersionUID = -355404865073212103L;

	private Role role;

	public RoleRight() {
	}

	public RoleRight(Right rr) {
		super.setRightID(rr.getRightID());
		super.setInheritable(rr.getInheritable());
		super.setOperation(rr.getOperation());
	}

	/**
	 * @hibernate.many-to-one name="role" column="ROLEID"
	 *                        class="com.norteksoft.erm.model.Role"
	 */
	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}
}
